import request from '@/utils/request'

// 查询砂浆抗压强度试验检测记录列表
export function listSjKyqdBsInfo(query) {
  return request({
    url: '/reportsj/sjKyqdBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询砂浆抗压强度等级
export function getQddj(param) {
  return request({
    url: '/reportsj/sjKyqdBsInfo/qddj/'+param,
    method: 'get',
  })
}

// 查询砂浆抗压强度试验检测记录详细
export function getSjKyqdBsInfo(excelId) {
  return request({
    url: '/reportsj/sjKyqdBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增砂浆抗压强度试验检测记录
export function addSjKyqdBsInfo(data) {
  return request({
    url: '/reportsj/sjKyqdBsInfo',
    method: 'post',
    data: data
  })
}

// 修改砂浆抗压强度试验检测记录
export function updateSjKyqdBsInfo(data) {
  return request({
    url: '/reportsj/sjKyqdBsInfo',
    method: 'put',
    data: data
  })
}

// 删除砂浆抗压强度试验检测记录
export function delSjKyqdBsInfo(excelId) {
  return request({
    url: '/reportsj/sjKyqdBsInfo/' + excelId,
    method: 'delete'
  })
}
